import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store'
// import './config/components_use'
import 'ant-design-vue/dist/antd.css'
import './style/index.less'
import configFun1 from './common/common'
Vue.prototype.configFun = configFun1;
import Antd from 'ant-design-vue'
import axios from 'axios'

import echarts from 'echarts'
import BaiduMap from 'vue-baidu-map'
Vue.config.productionTip = false

Vue.use(Antd)
Vue.prototype.$axios = axios
import '@/icons'
Vue.prototype.$echarts = echarts
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
Vue.use(Viewer)
Viewer.setDefaults({
  Options: { 'inline': false, 'button': true, 'navbar': true, 'title': false, 'toolbar': true, 'tooltip': true, 'movable': true, 'zoomable': true, 'rotatable': true, 'scalable': true, 'transition': true, 'fullscreen': true, 'keyboard': false, 'url': 'data-source' }
})
Vue.use(BaiduMap, {
  ak: 'YOUR_APP_KEY'
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
